package com.jianggy.observer.jdk;

import java.util.Observable;

public class JDEMall extends Observable {
	public void pay() {
		String message = "您的账户支付了1000元";
		super.setChanged();
		super.notifyObservers(message);
		super.clearChanged();
	}

}
